updated chapter 5 examples for Swift seed 5