A simple one-class exercise in which an input string is checked for whether it is a palindrome or not