Emergent Collective Behavior in Multi-Agent Systems: An Evolutionary Perspective