Bloomberg Interview Question

Implement a glob function.