String Matching Program In Python For Palindrome