added a main method to game.java