Added support for removing root node with remove function
Merge pull request #111 from X455u/rootfix

Added support for removing root node with remove function