Added a scala-friendly game loop class. Had to modify GameLoop.java a bit.