Begin of red-black tree development