PEP8 & py3k compliance.

This line-wraps long lines, and uses the print function instead of statement, to make the code PEP8 compliant and Python3 compatible.