created remove node function and updated documentation
remove node test