Python 3 support
Merge pull request #7 from zhengyal/python3

Python 3 support