I explain briefly what the attached program code should do. We give a number of passes before runs = 100. and we give I = 10.
runs = 100
I = 10
For example we