Basics of the random generator.