Longest common subsequence with debugging
Solution to Finding a Shared Spliced Motif (lcsq)