Explanation of Output for Sample
After running the brush along the first row, the canvas looks like this:
GGG
BBB
BBB
Then after running the brush along the first column, four cells are gold in the final pattern
determined by the artist’s choices:
BGG
GBB
GBB