python3 compatibility edits
Merge pull request #4 from joshuago78/master

python3 compatibility edits