Binary search tree implementation

Generic implementation of a binary search tree