Working assign_node_values function which will recursively assign values to nodes in the tree\ngiven a certain max depth. Needs more testing. Also, it broke tree traversal. Fixit fixit fixt.