LARA CYK parsing algorithm example, taken from here. Earley parsing algorithm example, taken from last year's course (Problem 2).