Correct SyntaxError on Python 3
Use print function for future aesthetic and compatibility
Merge tweaks to make the code lint under Python 3. Close #35.