add delete task method, extend default heap implementation