Program for binary search tree in C