title: Generate all possible binary matrices of size N x M (Python)
body: <p>I know there's other questions similar to this out there which generate matrices with some properties, but I'm looking to generate all possible matrices of a given size with no restrictions other than the entries being either a 1 or a 0 in Python. How can I do this?</p>