Replaced print with print_function from __future__, refs #38.
Fix pep8.