Format code according to PEP8 coding style

I used excelent pep8 python style checker
https://github.com/jcrocholl/pep8.git