this  is my algorithm homework. it uses two methods to solve the lcs problem.——recursive algorithm and dynamic programming .