Modified the RandomNumberUtility to use Java's Random object instead of Math.random().