public static void main(String[] args) throws IOException, NumberFormatException {

		if (args.length < 1) {
			System.out.println("Please use command \n" 
					+"java -jar yc173.jar \"tilepuzyc173\" \"tilepuzinput.txt\"\n"
					+"or\n"
					+"java -jar yc173.jar \"queensyc173\" n \n"
					+"to run the jar file");
			return;
		}

		if (args[0].equals("tilepuzyc173")) {
			if (args.length < 2) {
                System.out.println("Please input the input file name: tilepuzinput.txt");
                return;
            }
			String filename = args[1];
			int[][] intialState = FifteenState.parseInitialState(filename);
			AStarSearch.search(FifteenSearchNode.generateRoot(intialState));

		} else if (args[0].equals("queensyc173")) {
			if (args.length < 2) {
				System.out.println("Please input an int n for the number of queens");
				return;
			}
			int nQueens = Integer.parseInt(args[1]);
				AStarSearch.search(SuperqueensSearchNode.generateRoot(nQueens));

		} else {
			System.out.println("Unknown problem name: " + args[0]);
		}
	}