Added python 3 support
Merge pull request #4 from rafales/py3-support

Added python 3 support