added quadtree element insertion