A Fixed point theorem for generalized nonexpansive mappings