private void labelNimGraph() {
		
		System.out.println();
		System.out.println("The node labels in the NIM graph for n = " + initialMatchsticks + ":");
		System.out.println();
		
		LinkedList<NimVertex> sortedList;
		try {
			
			sortedList = (this.nimGraph != null) ? 
					NimAlgorithms.labelNimGraph(nimGraph) :
					NimAlgorithms.labelNimGraph(initialMatchsticks);
			
		} catch (OutOfMemoryError err) {
			System.out.println("Error: Java ran out of memory attempting " + 
					"to generate the NIM Graph. Please change the number " + 
					"of sticks to a lower number");
			return;
		}
		
		for (int i = 0; i < sortedList.size(); i++) {
			NimVertex v = sortedList.get(i);
			if (v != null) {
				String message = v.toString() + ": ";
				message += (v.isWinning()) ? "Winning" : "Losing";
				System.out.println(message);
			}
				
		}
		
		System.out.println();
	}