pep8 clean up.

just went through all the code with flake8