The new game and exit buttons work

All that needs to be done is the button clicks and checking for if the
player has won or not.