Newtons Method Python Code Editor Pycharm