Support Python3.
Merge pull request #1 from anntzer/Py3

Support Python3.