long stopTime = System.nanoTime();
long execTimeArray = stopTime - startTime;
//System.out.println("Insert time in the middle of the ArrayList: " + TimeUnit.NANOSECONDS.toSeconds(execTime) + " s");
System.out.println("Insert time in the middle of the ArrayList: " + execTimeArray + " ns");
startTime = System.nanoTime();
long stopTime = System.nanoTime();
long execTimeArray = stopTime - startTime;
//System.out.println("Insert time in the middle of the ArrayList: " + TimeUnit.NANOSECONDS.toSeconds(execTime) + " s");
System.out.println("Insert time in the middle of the ArrayList: " + execTimeArray + " ns");
startTime = System.nanoTime();