working Binary Search Tree