Python 3 compatibility, I hope
Merge pull request #1 from Riamse/master

Python 3 compatibility