Wanted to add some visualization for the tree but that was just taking too long. In the mean time, added a process_node function callback so that we can see every node that gets added to the tree.