matrix 1s-and-0s