function matches = matchKeypoints(desc1, desc2, thresh)
% Each column of desc1 or desc2 is a 128-d descriptor vector of a keypoint.
% matches is a 2 x N array of indices that indicates which keypoints in
% desc1 match which keypoints in desc2.

% YOUR CODE HERE