dcox ch06 exercises

The first one was enough to be ambiguous.