[ALGO] Added range min query using segment tree.