Multiprocessing.

Test how it works on pattern code