task_list implemented as a linked list