added eat() routine
made a good start on parse() routine, added gettoken() routine and eat() routine