AVL Tree mixed with Graph