remove_leaves
lTo remove the leaves:
remove any arc that points to a leaf
l
lremoveLeaves(Graph) =
drop((Arc)=>isLeaf(second(Arc), Graph), Graph);
l
the node to which Arc points
the list of arcs in the graph