Subarray Program In Python For Palindrome Sentences