Python 3 compatibility
Merge pull request #10 from dominicrodger/master

Python 3 compatibility