check answers to HW2 P1 by building sprinker bayes network