Making the game end and restart when you die