Wrote code to prompt the user if there are multiple pointers to the image to be overwritten.