Spell checker impelemented in C