Leetcode Intersection Of Two Sorted Arrays In Python