Comparing and contrasting for-each loops and counted-for loops; a note about aliasing, parameters, and local variables