--- from: http://rosettacode.org/wiki/Monte_Carlo_methods note: Probability and statistics