simple implementation of the red black tree data structure in C99.