Palindromic Linked List Leetcode Questions On Python