Finishes insert for AVL tree