initial commit, sample palindrome question in java