fixed pep8 violations

This PR will fix all of pep8 violations in the code base.