A binary search tree implementation in C