Class to represent a polynomial; Give x value, calculate the value of the polynomial.