public static void main(String[] args) {
        SearchTree tree = new SearchTree();
        int[] a = {37, 85, 10, 12, 44, 20, 54, 73, 93, 98};
        for (int i = 0; i < a.length; i++) {
            tree.put(a[i], i);
        }
        for (int i = 0; i < a.length; i++) {
            System.out.print(tree.get(a[i]));
            System.out.print(' ');
        }
        System.out.println();
    }