now setting depth in tree recursively, and starting a second take on integrating the tree into the parser
alright, the parser spits out a tree correctly for most test cases now
1