Fixed Bug Mentioned in last commit

Fixed bug when running multiple instances of the simulator.
-static variable in Group.java was removed