alpaca: chapter 5 exercises completed and tested for quality.