grep.c output formatting fixed