%sumInts: scalar -> scalar
%Author: Terry Harvey CISC 106 Section 99, TA: James Jamerson
%Description: Uses a for loop to find the sum of the positive integers from 1 to finish.
%Examples: 
%   sumInts(3) -> 6
%   sumInts(10) -> 55
%   sumInts(300) -> 45150
function sum = sumInts(finish)
  sum = 0;
  for current = [1:finish]
    sum = sum + current;
  end
  