polynomials in Go, for Programming Languages class