isPalindrome method working
is it done