Add two polynomials

The solution to http://dsalgo.openjudge.cn/dsmoochw2/1/