Cleaned up the code and began to prompt for a second image to be uploaded