Completed forLoop exercises