Implement Binary Search Tree Leetcode