Improve PEP8 compatibility

Fixed all flake8 reported issues.
Merge pull request #94 from elyezer/improve-pep8

Improve PEP8 compatibility