Add source code for static Quadtree and adaptive Quadtree.