Implementation of Binary Search Trees