input: Write a python function to create an instance of MyIterator and iterate through it.
  assert list(iterate_myiterator([1, 2, 3, 4])) == [1, 2, 3, 4]
  assert list(iterate_myiterator(['a', 'b', 'c'])) == ['a', 'b', 'c']
  assert list(iterate_myiterator([])) == []
output: class MyIterator:
      def __init__(self, data):
          self.data = data
          self.index = 0
  
      def __iter__(self):
          return self
  
      def __next__(self):
          if self.index < len(self.data):
              result = self.data[self.index]
              self.index += 1
              return result
          else:
              raise StopIteration
  
  def iterate_myiterator(data):
      return MyIterator(data)