completing for loop exercises.