remove unworkable memoizer and lcs code