Run code in parallel using the multiprocessing module