Update polynomial.py