Palindrome, Class and half Templates and Exceptions exercise