WIP. Add function of return LCS length.
Fix worng index.
Add fucntion of getting length of LCS.