first CUT on SAP. working example digraph1.txt