Command line hangman game, written in C