Modified search engine to use dictionary (hash tables)