Simple spell checker using a hash table to store dictionary