Create glob_pattern_match

Write a function called glob_match(filenames, pattern), which takes an array of filename strings and a glob pattern string and returns an array of the filenames that match the UNIX glob rules.