Program for finding misspelled words according to an input dictionary (hash table example)