rewrote the tree->request function for efficiency and arbitrary order
Merge branch 'master' of https://github.com/tshehan6/software_engineering_2