Subset Program In Python For Palindrome