Changed simulator to run a group of agents together.