Update CertainWorkload.java

addjust the for loop