public static void main(String[] args) throws IOException {
		Scanner seuss;
		
		// Step 0:
		// seuss = new Scanner(CLASSIC).useDelimiter("[^A-Za-z]+");
		// System.out.println(findUniqueWords(seuss).size()); // how many words did Dr Seuss use?
		// seuss.close();

		// Step 1:
		// seuss = new Scanner(CLASSIC).useDelimiter("[^A-Za-z]+");
		// Map<String, Integer> counts = countWords(seuss);
		// System.out.println(counts); // how often did he use each word?
		// seuss.close();

		// Step 2:
		// Map<Integer, List<String>> reverseCounts = reverseMap(counts);
		// System.out.println(reverseCounts); // how often did he use each word?
		
		// Step 3:
		// printMap(reverseCounts);
		
		// Step 4:
		
		Scanner dickens1 = scannerForWebPage("http://www.gutenberg.org/ebooks/98.txt.utf-8").useDelimiter("[^a-zA-Z]+");
		Scanner dickens2 = scannerForWebPage("http://www.gutenberg.org/ebooks/1400.txt.utf-8").useDelimiter("[^a-zA-Z]+");
		Scanner austen1 = scannerForWebPage("http://www.gutenberg.org/ebooks/1342.txt.utf-8").useDelimiter("[^a-zA-Z]+");
		Scanner austen2 = scannerForWebPage("http://www.gutenberg.org/ebooks/158.txt.utf-8").useDelimiter("[^a-zA-Z]+");
		Map<String,Integer> d1 = countWords(dickens1);
		Map<String,Integer> d2 = countWords(dickens2);
		Map<String,Integer> a1 = countWords(austen1);
		Map<String,Integer> a2 = countWords(austen2);
		dickens1.close();
		dickens2.close();
		austen1.close();
		austen2.close();
		
		double[][] diffs = {
				{
					wordDifference(d1,d1),
					wordDifference(d1,d2),
					wordDifference(d1,a1),
					wordDifference(d1,a2)
				},
				{
					wordDifference(d2,d1),
					wordDifference(d2,d2),
					wordDifference(d2,a1),
					wordDifference(d2,a2)
				},
				{
					wordDifference(a1,d1),
					wordDifference(a1,d2),
					wordDifference(a1,a1),
					wordDifference(a1,a2)
				},
				{
					wordDifference(a2,d1),
					wordDifference(a2,d2),
					wordDifference(a2,a1),
					wordDifference(a2,a2)
				}
		};
		
		System.out.println("        \tDickens1\tDickens2\tAusten1 \tAusten2 ");
		for(int i=0; i<4; ++i) {
			if (i == 0) System.out.print("Dickens1\t");
			else if (i == 1) System.out.print("Dickens2\t");
			else if (i == 2) System.out.print("Austen1 \t");
			else System.out.print("Austen2 \t");
			for(int j=0; j<4; ++j) {
				System.out.printf("%.6f\t", diffs[i][j]);
			}
			System.out.println();
		}
//		*/
	}