updated lib/core.arc, added repl script for rlwrap usage