Make Python3 compatible
Merge pull request #1 from acamargo8/master

Make compatible with Python 3.