sim_data_from_bn function

Simulate data from a Bayesian network