p81 graph acyclic paths between two nodes
p82 graph cyclic paths from one node