make and check for a palindrome