SPW: chapters 1-7 examples updated to 2nd edition