An efficient implementation of tree data structure in python 2/3.
Tree.from_map
Several minor improvements