Leetcode Printing Longest Common Subsequence