updating names in algo2_nandsim