delete node

create delete function