Polynomial Complexity of the Newton-Puiseux Algorithm