Define the top-down recursive solution to LCS