grep.c -o functionality bug in recursive matches