Adding Palindrome class