Write a function np = polyfit(x,y). the function takes n x-values and y-values and returns a structure p that contains the same variables that matlab’s polyf