fixing a bug with game over
failed fix
game over bug fix another attempt
pause implemented
pause implemented