Simple red-black tree implementation for UIUC Advanced Data Structures SP13