read_todo function

Read to-do list from YAML