Fix pep8 issues
Fixed all flake8 issues.