add palindrome solution