public static Collection<String> generateBindings(String s,
			Collection<Integer> xVals, Collection<Integer> yVals) {
		ArrayList<String> strings = new ArrayList<String>();
		if (s.contains("!1") && s.contains("!2")) {
			for (int x : xVals)
				for (int y : yVals)
					strings.add(s.replace("!1", "" + x).replace("!2", "" + y));
		} else if (s.contains("!1")) {
			for (int x : xVals)
				strings.add(s.replace("!1", "" + x));
		} else {
			strings.add(s);
		}
		return strings;
	}