Hangman game in C