made python3 compatibility
Merge pull request #12 from jirfag/python3-fix

made python3 compatibility