Add Python3 compatibility
Merge pull request #12 from kryzthov/master

Add Python3 compatibility