Create TREE.c

The TREE.c file contain all the implementation related to TREE and its properties