beginning to write code for a decision tree demo