Python 3 compatibility
Merge pull request #1 from venuatu/master

Python 3 compatibility