added alternate palindrome testing