Made the game ended screen and made restarting possible