updated chapter 11 examples for Swift seed 5