working on min() method for stack()
debugging stack.min()
implements stack.min() to return smallest element in the stack