Implement SegmentTree as generic class for both Sum and RMQ
Implement Interval sum using SegmentTree class
Minor fix in seg_tree.py
Implement RMQ using SegmentTree
Minor fix in min-1.py