Add 'lcs/': Longest-common-subsequence algorithm