Hangman game for Programming 1