[Func][Added] Added a find minimum value function