Implement balanced search tree (red black tree)