Complete palindrome exercise