Included the code to remove a node