Write `evaluate(coeffs, x)` evaluating the polynomial with `coeffs = [a0, a1, a2, ...]` at x. e.g. `[1,2,3]` ⇒ 1 + 2x + 3x².