How to make a tree from scratch.