Implemented Red-Black trees.