Hangman logic outline