Fix PEP8 coding style violations

`pep8 *.py --ignore=E501` gives no output anymore.

TODO: Fix long lines

As part of http://24pullrequests.com
Even if just fixing pep8: i think people prefer `x*x + y*y`.