Code to test Benford's Law