addded removeExcess() in Polynomial to remove excess operators