add algorithm-print-matrix