changing Palindrome.java only