Created a for loop

Created a for loop