Fill the grid with 0s and 1s: an equal amount of each per row and column, and never three of the same next to each other.