Adding examples for iteration of array