read_line()
Read a single line of text from stdin.
Returns Ok with the line (without trailing newline) on success,
or Err with an error message on failure.
Examplematch read_line() {
Ok(line) => println("You entered: " ^ line)
Err(e) => println("Error: " ^ e)
}