done with bst and working on binary tree