Parallelizing code with MPI in IPython