change lcs to longest_common_subseq
modify method name