Basic stdio.rb to display and retrieve string for standard I/O.