delete logic

logic for delete task 
close #79