The program can now process multiple images at a time