This is a c++ code for a nice console hangman game