Printing of the stack.