tree.c compiles correctly, ready to confimr working.