QuadTree: added implementation.