updated pdf, so exercises keep up with code changes
Mostly update "code snippets" so that they reflect the code which is actually in files. Fixed broken link (twice). NewtonMethod needs one less template argument than class Newton. Corrected the text and code snippet. Removed recommendation to use std::abs instead of abs() because it was untrue, abs accepts floating numbers too.