added 3.node restructuring to AVLTree