Add chapter 17 exercises

@rmascarenhas It works, without any style. :smile: 
Maybe a slightly better interface for this function would be to leave the `maskEntry` parameter as `NULL` when you don't want it applied, as some functions from `stdlib` do. This would eliminate the need for the third parameter.

Just a random thought.