Use turbo mode (shift click the green flag), and it does everything for you.
This is based off the BYOB recursion tutorial. Then I just used custom 2.0 blocks.