Create NewtonSolver.java