Added textbook unit tests for bayesian inference.

Added two common bayesian networks found in textbooks: the Sprinkler
and the Student networks.