add Newton's method
add code comment