Binary Search tree Template