first version of Red-Black Tree implement in C