def jsonable(self):
    return {'type': 'polynomial', 'F': self.F, 'coeficients': self.coef, 'degree': self.deg}
def jsonable(self):
    return {'type': 'polynomial', 'F': self.F, 'coeficients': self.coef, 'degree': self.deg}