Merge pull request #68 from gperciva/master

python3 compatibility