Demonstrates the use of for loops