public String toString() {
		String string = "A matrix consisting of " + matrix.size() + "*" + matrix.size() + " nodes.\n\n";
		
		for (int y = 0; y < matrix.size(); y++) {
			for (int x = 0; x < matrix.size(); x++) {
				Node node = getNode(x, y);
				if (node instanceof Wall) {
					string += "/|/";
				} else if (node instanceof Door) {
					string += " | ";
				} else {
					string += " O ";
				}
			}
			string += "\n";
		}
		
		string += "\nKey: '/|/', ' | ' and ' O ' represent walls, doors and spaces, respectively.";
		return string;
	}