renaming longest_common to longest_common_subsequence