https://medium.com/@monocosmo77/how-tree-structured-networks-work-part1-computer-science-1d01fc2da066