basic cmdline hangman client in Python