adding the ability to press space to reset the game