added get_leaf_nodes function and ability to render quadtree to a specified max_depth