Changed the GameLoop.java class to use a Timer object instead of a while loop