Added simple quadtree implementation.