Update readPolynomial.cpp