Python Code For String Palindrome Leetcode Problem Solving