Update Polynomial.java