Created ability to save subimage
Added code to allow users to save the subimage they create