exercise 6
alternative intDouble and doubleInt
import RNG._ on console startup
exercise 7