Added CYK automata code