Implement python3 compatibility
Merge pull request #1 from edtanous/master

Implement python3 compatibility