my implementation of a quadtree with C++