A module for n-tree 2D data structures similar to and including quadtree, with mapping to payload data