First commit bayesian_network.py