fixed AVL tree, fixed setRoot bug; root is being reseted only when rotating on it