Make codebase python3 compatible.
Merge pull request #79 from isbadawi/python3

Make codebase python3 compatible.