completed a basic for loop

basic for loop finished