Add function : check whether is binary search tree