Python3 compatibility
Merge pull request #5 from qznc/master

Python3 compatibility