Used PILlow to scale images
Added multiprocessing