Update CheckPalindrome.java