Finding the minimum value in a list.