short program that allows HDR conversion of two pgm and/or ppm images