Create validPalindrome.java