Adding palindrome validation and generation (character only)