restart and game over class