Largest palindrome solution Java.