Code written for my CIS 510 Probabilistic Methods in Artificial Intelligence course