#7 - fixing flake8 errors and warnings.

Fixes #7.
Merge pull request #8 from LibraryHippo/remove-flake-errors

#7 - fixing flake8 errors and warnings.