Leetcode Linked List Intersection In Python