A pair of nested for loops
Listing 2 consists of a pair of nested for loops.
Outer loop iterates down through the top 255 rows of pixels in Figure 1.
Inner loop iterates across the left-most 255 columns of pixels in Figure 1.