implemented and tested a new data structure Polynomial