chapter 4 completed

Signed-off-by: Karl Schulze <karl.schulze@mac.com>