outputting images to ppm file, using objparser as testing file