Playing with palindrome.java