Improve code.
Replace permutations with new rotations function.
Remove permutations function.
Draft problem 36.
Correct the is_palindrome function.
Create problem 37.
Introduce a check function for the truncation.
Remove the check function again.
Create problem 38.
Reduce the iterations.
Print the count.
Adjust the values for i and n.
Add is_pandigital function and adjust parameters.