Add to-do list sample code