REPL rewritten with Readline library
readline added to REPL dependencies
bug in evalTyped fixed