function result = for1(x)
% FOR1 sums the numbers in x
times =  numel(x)
result = 0;
for i = 1:times
           result = result + x(i);
end        
end
% studs: sum every second number, every nth number given as second argument by user,  if no second arg, sum every num 