Adds a node to a red-black tree and adjusts colors and rotations to maintain balanced height and ordering.
Explain code with DocComment! Try out your own code!