Create tree.c

The decision tree