initial version of hangman