Return an n x n integer matrix filled with a checkerboard of 0s and 1s, where the top-left element is 0.
Input
8
solve(...)