Added a isPalindrome method.