testing for binary search tree using dynamic memory alloc
binary search tree