[Tree]: fix bug on inserting a root node
[Tree]: use better variable names
[Tree]: remove extra old function
[Tree]: complete deleteNode function
[Tree]: rename some functions
[Tree]: handle error on deleteNode()
[Tree]: update test file