Translated the C version of Octree to Ada.