Id3 Algorithm Program In Python For Palindrome