Create treeFunctions.c

The decision tree functions