Adding palindrome function to list module.