MPI working in both direction (x,y)