Progress bar for array iteration.