Create bayesnet.py