minor things
changes for using StringTokenizer instead of StreamTokenizer.
code jam question..
TODO need to solve for big input also.