Added xml parser + slightly improved pushdown automaton