setup for outlining of code chunks
initial recursive logic for outlining