private ArrayList<Case> createSet(ArrayList<Integer> list) {
		ArrayList<Case> cases = new ArrayList<Case>();
		int i = 0;
		for (Integer type : list) {
			switch (type) {
				case 0 :
					if (i == 0) {
						cases.add(new Case(i, this, "Start"));
					}
					else if (i == list.size() - 1) {
						cases.add(new Case(i, this, "End"));
					}
					else {
						cases.add(new Case(i, this));
					}
					break;
				case 1 :
					cases.add(new ReturnCase(i, this));
					break;
				case 2 :
					cases.add(new GoBackCase(i, this));
					break;
				case 3 :
					cases.add(new QuestionCase(i, this));
					break;
				default :
					System.out.println("There was a problem during the initialization of the set.");
					return null;
			}
			i++;
		}
		return cases;
	}