Finished the longest common sub-sequence finder