Add chapter 4

Signed-off-by: Daniel Francis <francis@sugarlabs.org>