Added Quad and QuadTree classes