Nested Loops: Shapes, Patterns, and the Variable j