added a for loop example
added a for loop example