update lab3 - newton interpolation