Compatible with Python 3
Merge pull request #1 from goinnn/master

Compatibility with Python 3