Print Shortest Common Supersequence Leetcode Python Practice