quadtree_given.cpp