The program is to equalize a *.pgm image