A KDtree implementation to be used in my boids simulation.