make python 3 compatible
Merge pull request #1 from tonyroberts/master

make python 3 compatible