pep8 fixes for calculator.py