Added code formatting test.

Checks with flake8, thus assures PEP8 and some other things.
Removing debug statement.
Whole project now compatible with flake8.