debugging matching, constructing a function to show the matches between two images