buildCPTs function

buildCPTs: a function for building conditional probability tables based on pedigree bayesian network.