Update functions.c

createPolynomial now takes user input and makes assigns all a polynomials coefficients.
Print now has a case to print last variable with a line skip and includes pluses to make it look better.