def make_dict(self):
    dic = {}
    f = open('/usr/share/dict/words', 'r')
    for word in f:
        word = word.strip().lower()
        sort = ''.join(sorted(word))
        dic[sort] = word
    return dic
def make_dict(self):
    dic = {}
    f = open('/usr/share/dict/words', 'r')
    for word in f:
        word = word.strip().lower()
        sort = .join(sorted(word))
        dic[sort] = word
    return dic