data structure holds 01 matrix