added tree.c which I'll use to practice writing different tree functions