RNG in C