[java] How do I generate a random integer between min and max in Java?