Python 3 compatibility
Merge pull request #2 from ulope/master

Python 3 compatibility