Approximating fixed point of generalized nonexpansive mappings