Creating a dynamic to-do list