fleshing out the structure of algo1_nandsim_flashmodel