A general iterative algorithm for semigroups of nonexpansive mappings with generalized contractive mapping