moved rng8 to new file random.c, working