Doubt in CYK algorithm lecture