added new method gameover in boggle frame class, resets the game after the time is over