https://medium.com/@monocosmo77/how-tree-structured-networks-work-part2-computer-science-60fce6746860