assignment on lists (chapter 19)