C implementation of a Binary Search Tree (BST)