Effect of Gas Adsorption on Graphene Nanoribbons: A Density Functional Theory