Changed wordlist_to_dict