Creates IntArray with random indices
number of indices
number of indices, count < size
count < size
maximum indices count (exclusive)