— yeah you're right, but at that time, in 2012, C2 didn't have bidirectional for loops, so the inner for loop was automagically skipped in the last iteration of the outer one, like in the wikipedia algorithm.
But because for loops are now bidirectional, since I don't know when, it does a for "i" from 10 to 9 instead of just skipping.
Good catch, I'll try to reupload a correction soon.