updated requirements
updated segmented_tree script