Added Palindrome class