input: Write a function to use the Stack class to reverse a list.
  assert reverse_list([1, 2, 3, 4, 5]) == [5, 4, 3, 2, 1]
  assert reverse_list(['a', 'b', 'c', 'd']) == ['d', 'c', 'b', 'a']
  assert reverse_list([]) == []
output: class Stack:
      def __init__(self):
          self.items = []
  
      def is_empty(self):
          return self.items == []
  
      def push(self, item):
          self.items.append(item)
  
      def pop(self):
          return self.items.pop()
  
  def reverse_list(lst):
      stack = Stack()
      for item in lst:
          stack.push(item)
  
      reversed_list = []
      while not stack.is_empty():
          reversed_list.append(stack.pop())
  
      return reversed_list