added sync methods to bst
implemented a great part of AVL