attempt chapter 10 exercises

Signed-off-by: Brian Earwood <brian.earwood@gmail.com>