%closeEnough(number, number, number) -> characters
%Author: James Atlas
%Description
%  Takes two numbers and returns true if they are 
%  close enough together to consider them the same result.
%Examples
%  closeEnough(1,1.01, 0.1) -> true
%  closeEnough(1,1.01, 0.00001) -> false
function out=closeEnough(x, y, threshold)
  if (abs(x-y) <= threshold)
      out = true;
  else
      out = false;
  end
      