Competition, Conflict, and The Development of Social Hierarchies