Hangman game is functional