The easy way to implement a Red-Black tree

functional