added code to take a second image, subtract them, then save all images to png files