Fixed the output - was the wrong way around. No backtracing for errors or ambiguites