input: Write a python function to find the maximum value in a list using a class and a method.
  assert MaxValueAlgorithm([1, 4, 8, 6, -2, 5]).get_max_value() == 8
  assert MaxValueAlgorithm([10, 20, 5, 7, 9]).get_max_value() == 20
  assert MaxValueAlgorithm([-1, -4, -8, -6, -2, -5]).get_max_value() == -1
output: def MaxValueAlgorithm(lst):
      class MaxValueFinder:
          def __init__(self, lst):
              self.lst = lst
  
          def get_max_value(self):
              if not self.lst:
                  return None
              max_value = self.lst[0]
              for num in self.lst:
                  if num > max_value:
                      max_value = num
              return max_value
  
      return MaxValueFinder(lst)