Added a multiprocessing example using a class method