Update hash_function.cpp