added a lot of utility functions to the dtree and created a sparse dataset