Fixed all PEP E302 errors.
Fixed PEP8 E113 error.
Fixed PEP8 E501 error.
Fixed PEP8 W391 error.
Fixed PEP8 F401 error.
Fixed simpler cases of E501 errors.
Fixed PEP8 E261 error.
Fixed E501 error.
Added flake8 test.