added code for a custom stack that has a min function

stack that keeps track of its min element