Fixed For loop example so that jj is not incremented twice in each iteration of the loop