A Polynomial Manipulator in Ruby