Added simple root function, double(double, double);