for SE engineering for multiplying 2d array with 3 processes