Palindromes through recursion, iter-tools and the pythonic way