change ++x to x++ in loops (identical behaviour)

Im not really sure why?!