recursively build Binary Search Tree bottom up