added a task into txt file