Dynamic Programming - Length of LCS.