quadtree: Add createQtree helper function for insert.