conversions suggested by 2to3 for Python3 compatibility
Merge pull request #6 from glyphobet/py3

conversions suggested by 2to3 for Python3 compatibility