Assignment 3- Part I/II Probabilistic Reasoning Solution