add and resolve Longest_Common_Subsequence