Read p.§ to understand how to use the primitives word, last, and butlast.
Here is a recursive procedure that inverts the characters of a word.
A palindrome is a word, or a phrase that can be read in both sense (Examples: A man, a plan, a canal: Panama ...).
Finally, this little kind program, (Thanks Olivier SC):