private LinkMatrix getLinkMatrix() {
		// erzeuge Matrix
		int L[][] = new int[pageCount][pageCount];
		for (Page j : pages.values()) {
			L[j.nbr][j.nbr] = 1;
			for (Page i : j.links)
				L[i.nbr][j.nbr] = 1;
		}

		// stelle Output zusammen
		LinkMatrix lm = new LinkMatrix();
		lm.L = L;
		lm.urls = new String[pageCount];
		for (Page p : pages.values())
			lm.urls[p.nbr] = p.url;

		return lm;
	}