Added basic delete code for deleting tasks