Simple binary search tree data structure implementation.