python3 update
python3 update
Merge pull request #3 from graham13/master

Update for python 3 compatibility