Added list.py for chapter 8