purpose: to generate a random natural number less than some given integer
Intermediate Student Language