Oop Program In Python For Palindrome