create a stack with the ability to retrieve the min value