function sum = addVectors(i1, j1, k1, i2, j2, k2)
%addVectors finds the a resultant vector given 2 vectors
%
%consumes: i1 the x component of the first vector
%          j1 the y component of the first vector
%          k1 the z component of the first vector
%          i2 the x component of the second vector
%          j2 the y component of the second vector
%          k2 the z component of the second vector 
%
%produces: sum, the resultant  vector 
%
%
% examples:
%     >> sum(1, 2, 3, 5, 6, 7)
%     ans =
%           [6, 8, 9]
%     >> sum(2, 5, 7, 3, 6, 8)
%     ans =
%           [5, 11, 15]
%     >>
%R. Waylett for CISC106, sect 80, 10/01/2007

  sum = [i1, j1, k1] + [i2, j2, k2];
  return;
end