6. Building a REPL: Basic I/O