Path following method to minimize f(x)=xc (unconstrained optimization)
Remember that the minimizer is zero when the integer c is even otherwise the miminizer does not exist