added end game functionality, method to restart the game, some basic page styling, and even a sound (if it plays)