pgm 22.15, chance to practice (useless use of) freopen