function S = minimum(L)
S = L(1); %! Initialize accumulator to the first number in the list.
for k=2:length(L)
   if L(k) < S 
      S = L(k); %! We found a smaller one, so update the accumulator.
   end
end
