private void parseArgs(String[] args) {
		/* Make sure the arguments are properly formatted and initialize object variables. */
		if (args.length != 2) throw new IllegalArgumentException("That's silly");
		try {
			URL startingURL = new URL(args[0]);
			String targetFilename = args[1];
			seenLinks = new HashMap<URL, Boolean>();
			linksToCheck = new Queue(startingURL);
			outFile = new TransactionalFileOutputStream(targetFilename, false);
			suspending = false;
		} catch (MalformedURLException e) {
			System.out.println("ERROR: Invalid url");
			System.out.println("WebCrawler usage: $startingURL $targetFilename");
			validArgs = false;
		}
	}