Update BayesNetwork.py
mergin