modified while loop in calculator.py, added comments to c- nonmod.py