adds calc.py file for lab 7
after merge conflict