how to implement newton's forward interpolation in c programming with the help of array?