An almost working scanner parser.
state charts
tokenizer working