My implementation of the code from "Think Stats."