Added the match [] property to the souvenir object constructor. Changed insertMatches logic to return the indexOf the souvenir property that we're adding matches for (color or shape), and if it's === -1, we add a match.
Changed the insertMatch logic to evaluate p-n for a match, rather than p, to avoid changing a match that has already been inserted.