python3 compatibility effort
Merge pull request #9 from stonebig/patch-2

python3 compatibility effort