A small Java program to generate random data.