Added delete functionality to task list