add reorder trace_tree when removing trace with lchild
rearrange removing trace_node and reordering the tree. Modify removing the node when it has lchild. Add when removing node is leaf node
Modify removing leaf trace node
add find parent trace node
Add definition of RIGHT and LEFT. Add stdio dependency for fprintf
Modify logs calling print_trace_tree and checking which child. Adjust add_trace_node as linking new node to its parent