changes to hangman logic