Consider the set of m × n matrices with every entry either 0 or 1.

Determine the number of such matrices with the property that the number of 1's in each row and each column is even.

Solution