Added python3 compatibility
Merge pull request #12 from astagi/py3

Added python3 compatibility