An implementation of the game of hangman.