Adsorption-induced Functionalization of Carbon Nanowalls