min_stack.rb