decision.tree function

Custom decision tree algorithm