add printing statements to glob_match_with_print.py