People make groups to cooperate