buildBN function

buildBN: a function for building the bayesian network.