Red-black tree implemented