public void print(){
		System.out.println();
		for (int i = 0; i < d.length; i++) {
			for (int k = 0; k < d.length; k++) {
				if(d[i][k]>100000)
					System.out.print("* ");
				else
					System.out.print(d[i][k]+" ");
			}
			System.out.println();
		}
	}