Parsing Integers from Serial Input