isLeaf
lA node is a leaf if it is not the first of any arc in the graph.
lisLeaf(Node, Graph) =
!member(Node, map(first, Graph));

all nodes of Graph that begin some arc
ÔnotÕ operator