Added the single for loop

Perform a single for loop printing out values to the console