added gameover class

added gameover class