Library app impelmentation of RBTree and linked list