Generating a sample of random points.pdf