Format code to follow PEP8 Style Guide. Support for Python3.