dtree function

Create a decision tree