Fix segmentation fault.
Create chapter samples.
Create chapter exercises.