create palindrome.java