Update HW2_function.py