Generating π from 1,000 random numbers