Generate a random number using specified minimum and maximum values.
Minimum and maximum values are inclusive.