84. All Contiguous 3×3 Blocks

Hard

Extract all contiguous 3×3 blocks from the 10×10 matrix Z, sliding the window one row/column at a time. Return the (8, 8, 3, 3) array of blocks.

Implement solve(...)