no need to print whole matrix
problem 20