create and use a Random Java object to generate a random number in a given range.