Changed Threads to Processes

Uses multiprocessing