Update py_calculator.py

completed all the major calculator functionality