matrix := [ [0,5,0,0,0,0,0,0,0,0], [0,0,0,5,0,0,0,0,0,0], [3,5,5,6,0,0,0,0,0,0], [5,0,0,0,0,0,0,0,0,0], [1,5,0,1,5,0,0,0,0,0], [1,0,0,6,0,5,0,0,0,0], [2,5,0,0,0,0,5,0,0,0], [2,5,0,0,0,0,0,5,0,0], [2,5,0,0,0,0,0,0,5,0], [1,5,0,1,0,0,0,0,0,5] ]*Z(7);