Simple hangman game in Command Line Interface