Make Python3 compatible
Merge pull request #28 from brendanmaguire/master

Make Python3 compatible