a SegmentAddMinusTree.java implementation....first adding the range.
added method to add the nos to array.