example using a process pool in python multiprocessing