fixed repl for python 2 and 3 compatibility
Merge pull request #26 from florianletsch/python-2-fix

fixed repl for python 2 and 3 compatibility