for loop explained