Added simple example of for loop.