Iterator fixed

updated Iterator to pointers and nested within PhysicsEngine Class (declared outside)