Create printPalindrome.java