finished chapter 12 - lists and functions