dcox ch07 exercises

Should just round this to 3, much simpler.