Fixed some bugs and implemented all arithmetic operators for polynomial
class
Inlined the short functions in the header