Exercises 3.4 and 3.5

If there is a shorter solution to 3.4, then I'd like to know (and will add/substitute).
How about `apply ap10, path_contr`?