Added pgm1.c and updated README