Convergence of a Halpern-type iteration algorithm for a class of pseudo-contractive mappings