following all pep8 and flakes rules.
added flake8.