DP: Find the longest Common Subsequence