Implement the longest subsequence problem