Longest Common Subsequence Lcs Problem