public static void main(String[] args) {

		
		System.out.println("*** TPE Uebungsblatt 2 / Aufgabe 1 \n*** This is how it works: \n*** \t 1. select abstract datatype \n*** \t 2. select datatype implementation \n*** \t 3. execute operations\n***\n*** Note that'exit' will bring you to the upper menu.");
		do {
			inputADT = adtSelection();

			if (inputADT.charAt(0) == 'q' ) {

				inputImpl = implementationSelection();
//test
				do {
					if (inputImpl.charAt(0) == 'a') {
						queueOperation(arrayQueue);
					} else if (inputImpl.charAt(0) == 'l') {
						queueOperation(listQueue);
					}
				} while (!inputImpl.equals("exit"));

			} else if (inputADT.charAt(0) == 's') {

				inputImpl = implementationSelection();

				do {
					if (inputImpl.charAt(0) == 'a') {
						stackOperation(arrayStack);
					} else if (inputImpl.charAt(0) == 'l') {
						stackOperation(listStack);
					} 
				} while (!inputImpl.equals("exit"));
			} 
		} while (!inputADT.equals("exit"));
	}