finished

added end game and restart functionality