Hangman in C