Adding Digraph algorithms