Programming solutions to problems in probability.