private static void multi(int maxPagesToParse, String url, HashSet<String> keywords) {
		//Create PageAnalyzer thread and start
		PageAnalyzer pageAnalyzer = new PageAnalyzer(keywords);
		pageAnalyzer.start();
		
		//Create Page Retriever thread and start
		PageRetriever pageRetriever = new PageRetriever(url, maxPagesToParse);
		pageRetriever.start();

		try {
			Thread.sleep(50);
		} catch (InterruptedException e) {}
			
		PageParser parser = new PageParser(pageRetriever);
		parser.start();
		Page page;
		  
		page = pageRetriever.next();

		do {
			if (page != null) {
				parser.parse(page);
				page = pageRetriever.next();
			}
		} while (pageRetriever.hasNext());
		
//		Used to make sure the Analyzer has enough time to finish up.
//		try {
//			Thread.sleep(1000);
//		} catch (InterruptedException e) {}
		
		SummaryObject sum = pageAnalyzer.getSummary();
		sum.setPagesAnalyzed(pageRetriever.getRetrievedCount());
		System.out.println(generateString(sum));
		
		//Stop threads
		pageRetriever.terminate();
		pageAnalyzer.terminate();
		parser.terminate();
	}