implement another Red-Black Tree reference from the book <Introduction to Algorightms>