created least common subsequence algorithm
created lcs tests