PEP 8 the codebase

Used autopep8 to PEP 8 the codebase