fixing flake8 warnings/errors
fixed all the pep8 violations
Merge branch 'pep8'