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