Implement Bayesian Network In Python Program