Predation and group living