Session 19
Hint 6

Use an accumulator variable to build up a list of nested variable declarations. Pass this list on every recursive call.