Tree in c