eliminated list of palindromes

I replaced the list of palindromes with a conditional comparison of the
new palindrome against the last palindrome, then stored the larger of
the two. It bothered me that I could cheat with the MAX method, so I
changed this to perform the same function without using the MAX method.