Create rand_gen.py