adding subtracting and multiplying polynomials