Manually build an expression tree representation for a given polynomial.
