Finishing the histogram problem
Working on converting to a tree