Tree list with recursive template