Add Python 3 compatibility
Merge pull request #22 from tonysyu/feature/python-3-compatibility

Add Python 3 compatibility