longest_common_subsequence added