Added flake8 to the project.

Entire project is now up-to-date with flake8.