fixing a bug in algo1_nandsim_manual, and making memread_manual a bit more obvious