Implement simple root finding functions in julia