private static int[] generate(int size) {

        int[] ints = new int[size];

        for (int i = 0; i < size; i++) {

            ints[i] = RANDOM.nextInt();

        }

        return ints;
    }