Issue #28: Ensure Python code conforms to pep8 guidelines