BN_struct function

Construct Bayesian networks structures