Solution to the longest common subsequence problem on page 390~396.