Updated the solution for the lab on Newton's method.