Added QuadTree for Barnes-Hut approximation.