Bayesian Network Program In Python To Check