A class of three-point root-solvers of optimal order of convergence