Added a version of the tree for continous data. Code still kind of messy, prob<bly i'll do one version for both continous and discrete