adding the time average calculations per round
reordered agents in more logical format
implemented sets as an optimization