Bayesian Network for Genetic Inheritance