complete hangman consoleprogram