add tree.c