seminar2: stack, queue