Examples of 3 Loops in a Function