Update for python 3.x compatibility
Merge pull request #22 from FenkiouSoMutch/python3

Update for python 3.x compatibility