Exercise 6-4: RNG.ints
Exercise 6-5: RNG.double via map