for loop exercise 2