Print 2d array with spider sequence.
stack with min operation