changed parser for loop to while

NoSuchElementExceptions should never be thrown after this. Still lacks
the needed code to properly handle having too many/too few arguments,
but the full string will be read without concern to how many arguments
are needed/given.