red-black tree in C