Add delete function to heap