added and solved TREE (i.e. knew fact of graph theory)