Updated hash_calculator.py