update random_array.c