Update PalindromeCheck.java