Implementation of BST in C