Added node delete functionality