Add solution to find out longest common subsequence