Add remaining list functions from Chapter 3