Update GameEngine.java

Wrote step method