simple polynomial library done (i hop no bug)