Assign the first element of array to minimum_value and start the loop with i=1.