implemented basic quadtree insert