for loop exercise completed