Update data_grid_quad.h

Added code to make sure that the quadtree is deleted with data_grid_quad.