Construct Binary Search Tree From Sorted Array Intersection In Java