The general recurrence relation for divided differences and the general Newton-interpolation-algorithm with applications to trigonometric interpolation