public static void main(String[] args) { 
        if (args[0].equals("--mutate")) { //java -jar <your jar> --mutate <n> <input file>
            try {
                Reader inStreamReader = new InputStreamReader(new FileInputStream(new File(args[2])));
                Program program = ParserFactory.getParser().parse(inStreamReader);
                int numMutations = Integer.parseInt(args[1]);
                for(int i = 0; i<numMutations; i++)
                {
                Node selected = FaultInjector.randomNode(program, null);
                selected.mutate(program);
                System.out.println(selected.mutationDescription());    
                }
                System.out.println(program.prettyPrint());
            } catch (FileNotFoundException e) {
                System.out.println("ParserFactory: The given file was not found.");
            } catch (NumberFormatException e) {
                System.out.println("ParserFactory: Operation invalid. --mutate requires an integer for number of mutations");
            }
        } else if (args[0].equals("--extend")) {
            ////////
        } else { //java -jar <your jar> <input file>
            try {
                Reader inStreamReader = new InputStreamReader(new FileInputStream(new File(args[0])));
                Program program = ParserFactory.getParser().parse(inStreamReader);
                System.out.println(program.prettyPrint());
            } catch (FileNotFoundException e) {

                System.out.println("ParserFactory: The given file was not found.");
            }
        }
    }