adding source code for new hangman sample