Implemented simulateWorld