Create hangman code