Make a structure for memory array