Added funtionality to pass messages between agents, and began work on finding a leader agent