Implementation of the CKY parsing algorithm, with CFG to CNF conversion and parse output.