Fix basic tree example.
Add recursive-template option with separate template file.
Fix recursive template.