shows probability when displaying tree, implemented an information gain threshold for adding branches