public static void main(String[] args)
	{
		String filename = args[0];
		String delim = args[1];
		StringGraph sg = new StringGraph(filename, delim);

		System.out.println(filename + " : Key in your Query");
		Graph G = sg.G();
		while (StdIn.hasNextLine())
		{
			String s = StdIn.readLine();
			if (sg.contains(s))
				for (int w : G.adj(sg.index(s)))
					System.out.println("   " + sg.name(w));
			else
				System.out.println("Not found in database");
		}
	}