Recursive generator implementation.
Recursive generator implementation.
One test for generation.