ported to python3
Merge pull request #8 from daniellawrence/python3_port

ported to python3