first pass on experiments
added helper functions
added num_trees experiment
refactor
bug fix