c11 c12 ... c1m
c21 c22 ... c2m
... ... ... ...
cn1 cn2 ... cnm
cij should be 0 or 1.
formatForGen(string)
string should be the syntax written above.
sample (JavaScript syntax):
const str = "\
1 1 1 0\n\
1 0 0 0\n\
1 0 1 0\n\
1 0 1 0\n"