Update for MP6

Added code to read/write ppm images. Mask is specified as matrices in the previous MPs. Tested on an identity mask (only the central element is 1) - it produces an identical image.