Update hash_function.py