Added set structure based on binary search tree