Build an n x n checkerboard (n is even) by repeating a small 2x2 tile of
0s and 1s across the full array, so the top-left element is 0.
Input
8
Only the returned value is graded, so a different approach will still pass. The constraint is the point of the exercise, not a rule the grader enforces.
solve(...)