input: Write a python function to calculate the sum of two numbers using a class method.
  assert MyCalculator().sum(5, 10) == 15
  assert MyCalculator().sum(-3, 7) == 4
  assert MyCalculator().sum(0, 0) == 0
output: class MyCalculator:
      def sum(self, a, b):
          return a + b