Implemented delete node