protected void processRange(TreeSet<Range> tree, Range treeRange, Range newRange) {
   if (treeRange.getLeft() >= newRange.getRight()) {
     tree.add(newRange);
   } else if (treeRange.getRight() >= newRange.getLeft()) {
     tree.add(newRange);
   } else {
     System.out.println("Oops" + treeRange.toString() + newRange.toString());
   }
 }