Newton Raphson Method Python Programs