Clean code for all exercises in O'Reilly book "Think Stats"