addition of getNumMatches function and edition of checkScore function (for it to return string) in globs.js