Implemented multiplication for polynomials