hashing a python dictionary,hash(frozenset(list(my_dict.items())))