getting algo2_nandsim to compile