Added quadtree class that supports elements with bounds.