Updated ColdBoot.java and Main.java so as to properly implement the game
loop.