for loop

I added 2 for loops
One for loop

I added one for loop instead of two.