A new approach to numerical solution of fixed-point problems and its application to delay differential equations