add file test_pgm.c