Checkpoint : Problem of matrix with alternating rectangles.