ran pep8 tests on all .py files and updated accordingly