public static void main(String[] args) {

		Program program = new Program((new TestInput()).getCorrectInput());

		Controller controller = new Controller();
		Model model = new Model(controller);
		File file = model.programToFile(program, "test.cecil");

		try {
			String s;
			BufferedReader reader = new BufferedReader(new FileReader(file.getAbsolutePath()));
			while((s = reader.readLine()) != null) {
				System.out.println(s);
			}
		} catch (IOException e) {
			e.printStackTrace();
		}

		Program inception = model.fileToProgram(file);
		for(ArrayList<String> a: inception.getProgramStatements()){
			for(int i = 0; i < a.size(); i++) {
				System.out.print(a.get(i)+" ");
			}
			System.out.println();
		}
	}