Ilan - fixed exiting methods, added a method that checks if game is over