Hangman game in command line