update ValidPalindrome.java