Solution for Hangman Part 2