PROBLEM reading from serial monitor

The serial input basics tutorial shows how to read serial data using non-blocking methods and without using the problematic String class.