finally working hangman