Show that the polynomial interpolating the following data has degree three.
I am not familiar with "Newton's forward-difference formula",
. . but I'm sure it is similar to the following.
Take the differences of consecutive terms,
. . then take the differences of the differences, and so on.
Since the third differences are constant,
. . the generating function is of the third degree (a cubic).
Your function is correct . . . Good work!