add random_generator.c