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