public static void showOutput(int pair1, int pair2, char[] gameArray, boolean[] flipped) {
		
		int space, d, l = 1;
		
		//method called while the game is still in process
		for (d = 0; d < gameArray.length; d++) {
			
			if (d == (pair1 - 1) || d == (pair2 - 1)  || flipped[d]) {
				
				//show the face value of the cells selected by the user and those that have already been matched
				System.out.print(" " + gameArray[d] + " ");
				
			} else {
				
				//otherwise show a "*"
				System.out.print(" *");
				
			}
		}
		
		System.out.println();
		
		for (d = 0; d < gameArray.length; d++) {
			
			//labeling the location of gameArray
			System.out.print(" " + l++);
			
		}
				
		System.out.println();
		
		//pausing the application and waiting for user input before moving on
		System.out.println("Press enter to continue.");
		
		
		try {
			
			System.in.read();
			
		} catch (IOException e) {
		
			System.out.println("User read error.");
		
		}
		
		for (space = 0; space < 5; space ++) {
			
			//making whitespace to push the previous results out of view in the console
			System.out.println();
			
		}
		
	}