RBTree implementation for Data Structures 2 course