QuadTree implementation.  Has not been thoroughly tested.