A simple hangman programming for a college assignment in C