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