New parser design working, printing states.