add solution for min stack