mostProbable function

Find most probable DAG structure