find_min function

Find minimum value of a vector