artificial intelligence assignment 9

Artificial Intelligence exercise assignment.

Link for exercises (Textbook): https://www.cs.ubc.ca/~poole/aibook/2e/html/ArtInt2e.Ch3.S11.html

Need to answer question #3 and question #4 in this exercises.