can end the game with exit.
added exit test and higher/lower functionality.