simulateDag function

Simulate a DAG with with arbitrary arcs density