Added optional types 'testyourunderstanding' and 'endofchapter' to exercises