changed the in_dict method to look up word roots. The lemma method returns lemma if matched against the wordlist, and nil if not