Having trouble with the findFirstMatch function in challenge.js