how to get the decision tree to work and display it properly