more tree programs. (graph structures not finished yet)