program to generate random numbers