finished chapter 4. Functional Todo list