Python 3 compatibility

Great module, thanks for sharing!

Just quickly changed the print() syntax for Python 3 compatibility.