Implement red black tree insertion