My source code for the "Think Bayes" book written by Allen B. Downey. The website for this book is: http://www.greenteapress.com/thinkbayes/