add python3 support
Merge pull request #4 from snahor/master

Add support for Python 3