Added a for loop exercise using user input