week6 Longest Common Subsequence Problem