decision nodes and terminal nodes

todo: write decision tree class for representing decision trees