Update: Added isWhitespace character to InputParser class.